package com.efast.dmom.mgmt.service.master.impl;

import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasPackageDao;
import com.efast.dmom.mgmt.entity.master.TmBasPackage;
import com.efast.dmom.mgmt.service.master.TmBasPackageService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TmBasPackageServiceImpl implements TmBasPackageService {
	@Autowired
	private TmBasPackageDao tmBasPackageDao;

	@Override
	public long getTmBasPackageRowCount(Assist assist) {
		return tmBasPackageDao.getTmBasPackageRowCount(assist);
	}

	@Override
	public List<TmBasPackage> selectTmBasPackage(Assist assist) {
		return tmBasPackageDao.selectTmBasPackage(assist);
	}

	@Override
	public TmBasPackage selectTmBasPackageByObj(TmBasPackage obj) {
		return tmBasPackageDao.selectTmBasPackageByObj(obj);
	}

	@Override
	public TmBasPackage selectTmBasPackageById(Integer id) {
		return tmBasPackageDao.selectTmBasPackageById(id);
	}

	@Override
	public int insertTmBasPackage(TmBasPackage value) {
		return tmBasPackageDao.insertTmBasPackage(value);
	}

	@Override
	public int insertNonEmptyTmBasPackage(TmBasPackage value) {
		return tmBasPackageDao.insertNonEmptyTmBasPackage(value);
	}

	@Override
	public int insertTmBasPackageByBatch(List<TmBasPackage> value) {
		return tmBasPackageDao.insertTmBasPackageByBatch(value);
	}

	@Override
	public int deleteTmBasPackageById(Integer id) {
		return tmBasPackageDao.deleteTmBasPackageById(id);
	}

	@Override
	public int deleteTmBasPackage(Assist assist) {
		return tmBasPackageDao.deleteTmBasPackage(assist);
	}

	@Override
	public int updateTmBasPackageById(TmBasPackage enti) {
		return tmBasPackageDao.updateTmBasPackageById(enti);
	}

	@Override
	public int updateTmBasPackage(TmBasPackage value, Assist assist) {
		return tmBasPackageDao.updateTmBasPackage(value, assist);
	}

	@Override
	public int updateNonEmptyTmBasPackageById(TmBasPackage enti) {
		return tmBasPackageDao.updateNonEmptyTmBasPackageById(enti);
	}

	@Override
	public int updateNonEmptyTmBasPackage(TmBasPackage value, Assist assist) {
		return tmBasPackageDao.updateNonEmptyTmBasPackage(value, assist);
	}

	public TmBasPackageDao getTmBasPackageDao() {
		return this.tmBasPackageDao;
	}

	public void setTmBasPackageDao(TmBasPackageDao tmBasPackageDao) {
		this.tmBasPackageDao = tmBasPackageDao;
	}
}